<template>
  <div class="navBarItem fixedTop flex flex-between">
    <div class="left marginAuto0">
      <slot name="navbar-left"></slot>
    </div>
    <div class="center bold textAlignCenter marginAuto0">
      <slot name="navbar-center">大胡子购物平台</slot>
    </div>
    <div class="right marginAuto0">
      <slot name="navbar-right"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "navbarItem"
}
</script>

<style scoped>
.navBarItem{
  background-color: #DD001B;
  padding: 0.2rem 1rem;
  height: 5rem;
}
.left,.center,.right{
  color: #fff;
}
.left,.right{
  width: 20%;
}
.center{
  font-size: 1.5rem;
  flex: 1;
}
</style>